# -*- coding: UTF-8 -*-
# @Time : 2022-02-13 23:17
# @User：My.
# @File : run.py
import pytest
import time
import os
from Base.Allure_Report import allure_generate

report_path = 'report' + os.sep + 'result'
report_html = 'report' + os.sep + 'html'

if __name__ == '__main__':
    pytest.main()
    print(report_path, report_html)
    time.sleep(2)
    allure_generate(report_path, report_html)